home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / T / TurboT.sit / TurboT folder / Sample Program.p < prev   
MacBinary  |  1989-12-17  |  1.9 KB  |  [TEXT/TPAS]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Sample Program.p

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert ZX81 Sinclair BASIC (image/sinclairBASIC) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert bsdiff patch (other/bsdiffPatch) ext Unsupported
1% dexvert imgdiff patch (other/imgdiffPatch) ext Unsupported
1% dexvert WSUS Patch Storage File (other/wsusPatchStorageFile) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sun Dec 17 16:58:12 1989, modified Sun Dec 17 16:58:12 1989, creator 'TPAS', type ASCII, 1309 bytes "Sample Program.p" , at 0x59d 348 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[TPAS]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 53 61 6d 70 6c 65 | 20 50 72 6f 67 72 61 6d |..Sample| Program|
|00000010| 2e 70 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.p......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 54 50 41 | 53 00 00 00 00 00 00 00 |.TEXTTPA|S.......|
|00000050| 00 00 00 00 00 05 1d 00 | 00 01 5c a1 b1 bc 74 a1 |........|..\...t.|
|00000060| b1 bc 74 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..t.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c5 2a 00 00 |........|.....*..|
|00000080| 70 72 6f 67 72 61 6d 20 | 54 65 73 74 50 72 6f 67 |program |TestProg|
|00000090| 72 61 6d 3b 0d 0d 7b 20 | 48 65 6c 6c 6f 54 75 72 |ram;..{ |HelloTur|
|000000a0| 62 6f 54 61 62 62 79 2c | 20 68 61 73 20 62 65 65 |boTabby,| has bee|
|000000b0| 6e 20 63 6f 6d 70 6c 69 | 65 64 20 61 73 20 61 20 |n compli|ed as a |
|000000c0| 55 6e 69 74 20 61 6e 64 | 20 73 68 6f 75 6c 64 20 |Unit and| should |
|000000d0| 62 65 20 20 7d 0d 7b 20 | 6d 6f 76 65 64 20 69 6e |be }.{ |moved in|
|000000e0| 74 6f 20 79 6f 75 72 20 | 54 75 72 62 6f 20 50 61 |to your |Turbo Pa|
|000000f0| 73 63 61 6c 20 45 6e 76 | 69 72 6f 6d 65 6e 74 20 |scal Env|iroment |
|00000100| 75 73 69 6e 67 20 75 6e | 69 74 20 6d 6f 76 65 72 |using un|it mover|
|00000110| 2c 20 20 20 7d 0d 7b 20 | 70 72 6f 76 69 64 65 64 |, }.{ |provided|
|00000120| 20 77 69 74 68 20 54 75 | 72 62 6f 20 50 61 73 63 | with Tu|rbo Pasc|
|00000130| 61 6c 2e 20 20 42 65 20 | 73 75 72 65 20 74 6f 20 |al. Be |sure to |
|00000140| 69 6e 63 6c 75 64 65 20 | 69 74 20 6f 6e 20 79 6f |include |it on yo|
|00000150| 75 72 20 20 7d 0d 7b 20 | 55 53 45 53 20 6c 69 6e |ur }.{ |USES lin|
|00000160| 65 2e 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e. | |
|00000170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000180| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000190| 20 20 20 20 7d 0d 0d 7b | 20 53 65 65 20 48 65 6c | }..{| See Hel|
|000001a0| 6c 6f 54 75 72 62 6f 54 | 61 62 62 79 2e 70 20 66 |loTurboT|abby.p f|
|000001b0| 6f 72 20 64 65 74 69 61 | 6c 73 20 6f 6e 20 77 68 |or detia|ls on wh|
|000001c0| 61 74 20 69 73 20 68 61 | 70 70 65 6e 69 6e 67 2e |at is ha|ppening.|
|000001d0| 20 20 20 20 20 7d 0d 0d | 0d 7b 24 52 20 48 65 6c | }..|.{$R Hel|
|000001e0| 6c 6f 54 75 72 62 6f 2e | 52 53 52 43 20 7d 20 20 |loTurbo.|RSRC } |
|000001f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000200| 20 20 7b 54 68 69 73 20 | 69 73 20 74 68 65 20 52 | {This |is the R|
|00000210| 65 73 6f 75 72 63 65 20 | 66 69 6c 65 20 74 6f 20 |esource |file to |
|00000220| 75 73 65 2e 7d 0d 7b 24 | 42 2b 7d 20 20 20 20 20 |use.}.{$|B+} |
|00000230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000240| 20 20 20 20 20 20 20 20 | 20 20 20 20 7b 20 69 66 | | { if|
|00000250| 20 63 6f 6d 70 69 6c 65 | 64 20 74 6f 20 64 69 73 | compile|d to dis|
|00000260| 6b 2c 20 62 75 6e 64 6c | 65 20 62 69 74 20 6f 6e |k, bundl|e bit on|
|00000270| 20 7d 0d 7b 24 54 20 41 | 50 50 4c 78 78 78 78 7d | }.{$T A|PPLxxxx}|
|00000280| 20 20 20 20 20 20 20 7b | 20 69 66 20 63 6f 6d 70 | {| if comp|
|00000290| 69 6c 65 64 20 74 6f 20 | 64 69 73 6b 2c 20 66 69 |iled to |disk, fi|
|000002a0| 6c 65 20 67 65 74 73 20 | 74 68 69 73 20 74 79 70 |le gets |this typ|
|000002b0| 65 20 61 6e 64 20 63 72 | 65 61 74 6f 72 20 7d 0d |e and cr|eator }.|
|000002c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002d0| 20 20 20 20 7b 20 78 78 | 78 78 20 69 73 20 79 6f | { xx|xx is yo|
|000002e0| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 63 |ur appli|cation c|
|000002f0| 72 65 61 74 6f 72 20 20 | 20 20 20 20 20 20 20 20 |reator | |
|00000300| 20 20 20 20 20 20 20 20 | 20 20 20 7d 0d 7b 24 55 | | }.{$U|
|00000310| 2d 7d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |-} | |
|00000320| 20 7b 20 44 69 73 61 62 | 6c 65 20 73 74 61 72 74 | { Disab|le start|
|00000330| 75 70 20 77 69 6e 64 6f | 77 20 61 6e 64 20 63 61 |up windo|w and ca|
|00000340| 6e 63 65 6c 20 73 74 61 | 6e 64 61 72 64 20 75 6e |ncel sta|ndard un|
|00000350| 69 74 73 20 20 20 20 20 | 7d 0d 20 20 20 20 20 20 |its |}. |
|00000360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 7b 20 | | { |
|00000370| 52 65 6d 6f 76 65 20 74 | 68 69 73 20 69 66 20 79 |Remove t|his if y|
|00000380| 6f 75 20 70 6c 61 6e 20 | 74 6f 20 75 73 65 20 62 |ou plan |to use b|
|00000390| 75 69 6c 74 20 69 6e 20 | 54 75 72 62 6f 20 50 61 |uilt in |Turbo Pa|
|000003a0| 63 61 6c 20 20 7d 0d 20 | 20 20 20 20 20 20 20 20 |cal }. | |
|000003b0| 20 20 20 20 20 20 20 20 | 20 20 20 7b 20 50 72 6f | | { Pro|
|000003c0| 63 65 64 75 72 65 73 2c | 20 6c 69 6b 65 20 72 65 |cedures,| like re|
|000003d0| 61 64 6c 6e 2c 20 77 72 | 69 74 65 6c 6e 20 61 6e |adln, wr|iteln an|
|000003e0| 64 20 73 6f 20 6f 6e 2e | 20 20 20 20 20 20 20 20 |d so on.| |
|000003f0| 20 20 7d 0d 0d 75 73 65 | 73 20 4d 65 6d 54 79 70 | }..use|s MemTyp|
|00000400| 65 73 2c 51 75 69 63 6b | 44 72 61 77 2c 4f 53 49 |es,Quick|Draw,OSI|
|00000410| 6e 74 66 2c 54 6f 6f 6c | 49 6e 74 66 2c 50 61 63 |ntf,Tool|Intf,Pac|
|00000420| 6b 49 6e 74 66 2c 48 65 | 6c 6c 6f 54 75 72 62 6f |kIntf,He|lloTurbo|
|00000430| 54 61 62 62 79 3b 0d 0d | 20 0d 20 62 65 67 69 6e |Tabby;..| . begin|
|00000440| 0d 0d 20 20 20 20 7b 20 | a5 a5 a5 a5 0d 0d 20 20 |.. { |...... |
|00000450| 20 20 20 20 20 20 20 20 | 59 6f 75 72 20 50 72 6f | |Your Pro|
|00000460| 67 72 61 6d 20 48 65 72 | 65 0d 0d 20 20 20 20 20 |gram Her|e.. |
|00000470| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000480| 20 20 20 20 20 a5 a5 a5 | a5 20 7d 0d 0d 20 20 20 | ...|. }.. |
|00000490| 20 0d 20 20 20 20 7b 20 | 50 6c 61 63 65 20 74 68 | . { |Place th|
|000004a0| 69 73 20 63 6f 64 65 20 | 61 74 20 74 68 65 20 65 |is code |at the e|
|000004b0| 6e 64 20 6f 66 20 79 6f | 75 72 20 4d 61 69 6e 20 |nd of yo|ur Main |
|000004c0| 4d 6f 64 75 6c 65 20 6f | 72 20 77 68 65 72 65 20 |Module o|r where |
|000004d0| 79 6f 75 20 70 6c 61 6e | 20 74 6f 20 7d 0d 20 20 |you plan| to }. |
|000004e0| 20 20 7b 20 65 78 69 74 | 20 74 68 65 20 61 70 70 | { exit| the app|
|000004f0| 6c 69 63 61 74 69 6f 6e | 20 2e 20 20 20 20 20 20 |lication| . |
|00000500| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000510| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000520| 20 20 20 20 20 20 20 20 | 7d 0d 0d 20 20 20 20 48 | |}.. H|
|00000530| 65 6c 6c 6f 54 75 72 62 | 6f 54 61 62 62 79 3b 09 |elloTurb|oTabby;.|
|00000540| 09 09 09 09 09 09 09 09 | 09 09 09 09 0d 20 20 20 |........|..... |
|00000550| 20 69 66 20 4e 65 78 74 | 4c 61 75 6e 63 68 20 3c | if Next|Launch <|
|00000560| 3e 20 27 27 20 74 68 65 | 6e 09 09 09 09 09 09 09 |> '' the|n.......|
|00000570| 09 09 09 09 0d 20 20 20 | 20 20 20 20 4c 61 75 6e |..... | Laun|
|00000580| 63 68 4e 65 78 74 41 70 | 70 6c 0d 09 09 09 09 09 |chNextAp|pl......|
|00000590| 09 09 09 09 09 09 09 0d | 20 65 6e 64 2e 00 00 00 |........| end....|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 01 00 00 00 01 16 | 00 00 00 16 00 00 00 46 |........|.......F|
|00000610| 00 00 00 3b 08 53 6f 66 | 74 74 61 6c 6b 6f 02 00 |...;.Sof|ttalko..|
|00000620| 00 00 49 4e 49 54 54 6f | 70 53 21 00 02 c0 00 c0 |..INITTo|pS!.....|
|00000630| 10 53 61 6d 70 6c 65 20 | 50 72 6f 67 72 61 6d 2e |.Sample |Program.|
|00000640| 70 6d 02 00 00 00 50 61 | 72 74 53 49 54 78 00 00 |pm....Pa|rtSITx..|
|00000650| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 a9 80 21 9e 00 00 | 00 00 00 00 01 5c 00 00 |....!...|.....\..|
|00000680| 00 00 00 00 13 00 00 00 | 00 3b 0d 53 6f 75 6e 64 |........|.;.Sound|
|00000690| 73 20 46 6f 6c 64 65 72 | 01 00 00 00 00 03 00 00 |s Folder|........|
|000006a0| 1e 98 9f 96 3c 7f a1 a8 | 2b 35 00 00 00 00 00 52 |....<...|+5.....R|
|000006b0| 00 18 01 0e 01 ac 01 00 | 04 00 01 00 01 00 ff f8 |........|........|
|000006c0| ff f0 00 00 00 00 00 00 | 00 00 00 00 00 02 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 1b 00 |........|........|
|000006e0| 00 00 00 3b 15 53 70 65 | 6c 6c 69 6e 67 20 44 69 |...;.Spe|lling Di|
|000006f0| 63 74 69 6f 6e 61 72 69 | 65 73 01 00 00 00 00 04 |ctionari|es......|
|00000700| 00 00 00 04 00 06 00 08 | 00 00 00 0a 00 09 06 4d |........|.......M|
|00000710| 6f 6e 61 63 6f 00 00 00 | 01 00 00 00 01 16 00 00 |onaco...|........|
|00000720| 00 16 00 00 00 46 00 04 | bf 20 05 e2 00 00 00 1c |.....F..|. ......|
|00000730| 00 46 00 01 45 54 41 42 | 00 00 00 12 45 46 4e 54 |.F..ETAB|....EFNT|
|00000740| 00 00 00 1e 03 ec ff ff | 00 00 00 00 00 05 1e 46 |........|.......F|
|00000750| 03 eb ff ff 00 00 00 08 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+